package com.awcall.iot.common;

import com.awcall.iot.utils.RequestUtils;

public class BaseController {

    protected Long getSystemUserId() {
        Object systemUserId = RequestUtils.getRequest().getAttribute("systemUserId");
        if (systemUserId == null) {
            return null;
        }
        return Long.valueOf((String) systemUserId);
    }

}
